package com.ace.user.module.mapper;

import com.ace.user.module.entity.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author jobObj
 * @since 2019-10-11
 */
public interface UserUserInfoMapper extends BaseMapper<UserInfo> {

    @Select("select count(1) from user_user where app_id = #{appId} and delete_flag = 0")
    int selectUserCountByAppId(@Param("appId") String appId);

}
